package com.provider.provider.rabitmq;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * Created by chao on 2019/3/29.
 */
//参考lombok
@Data
@AllArgsConstructor
//@NoArgsConstructo
public class UserMessage {
    int id;
    String name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
